package org.jftstool.search.client;

import java.util.List;

import org.jftstool.search.client.TipoConsulta.ConsultaPor;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface JFTSServiceAsync {

	void getOntologyHierarchy(AsyncCallback<Node> callback);
	
	void getValidFields(AsyncCallback<List<String>> callback);

	void getValidLanguages(AsyncCallback<List<String>> callback);

	void executeQuery(String query, ConsultaPor tipoConsulta, String language,
			String field, AsyncCallback<List<ResultadoItem>> callback);
}
